package com.itheima.Utils;

import com.alibaba.fastjson.JSON;
import com.itheima.ws.pojo.Result;
import org.springframework.stereotype.Component;

@Component
public class ResultUtils {

    public static String toString(Object object) {
        return JSON.toJSONString(object);
    }
}

